package cn.dylan.block;

import cn.dylan.domain.User;
import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.web.bind.annotation.PathVariable;

public class blockMethod {

    public static User blockMethod(@PathVariable("id") Long id, BlockException e){
        e.printStackTrace();
        return new User(-1L,"不得行了","做不了你想看的了");
    }
}
